package com.recruit.screen.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.recruit.screen.domain.ScrPost;
import com.recruit.screen.mapper.ScrPostMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ScrPostService {

    @Autowired
    private ScrPostMapper postMapper;

    public List<ScrPost> selectPostList() {

        LambdaQueryWrapper<ScrPost> queryWrapper = new LambdaQueryWrapper<>();
        return postMapper.selectList(queryWrapper);
    }
}
